﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mapping.ByCode.Conformist;
using FAS.Core;
using NHibernate.Mapping.ByCode;

namespace FAS.Repositories.Mappings
{
    public class FormulaidMapping : ClassMapping<Formulaid>
    {
        public FormulaidMapping()
        {
            Table("C_FORMULAID");
            DynamicUpdate(true);
            Id(x => x.Id,map =>
            {
                map.Column("ID");
                map.Generator(Generators.Assigned);
            });
            Property(x => x.CreateTime, map => map.Column("CREATETIME"));
            Property(x => x.Name, map => map.Column("NAME"));
            Property(x => x.Description, map => map.Column("DESCRIPTION"));
        }
    }
}
